<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>float</title>
		<style type="text/css">

		</style>
	</head>
	<body>
		<!-- 文档流 ：页面加载顺序 -->
		<!-- float: left;让元素在一行排列，脱离文档流，不占据页面位置 -->
		<div class="" style="width: 100px;height: 100px;background-color: #007ACC;float: right;"></div>
		<div class="" style="width: 200px;height: 200px;background-color: #7FFF00;float: right;"></div>
		<div class="" style="width: 300px;height: 300px;background-color: #800080;float: right;"></div>

		<!-- <style type="text/css">
			.border{
				border: 1px solid black;
				width: 80%;
				height: 450px;
				margin-left: 10%;
			}
			.content{
				width: 24%;
				float: left;
				margin-left: 0.7%;
				margin-top: 1%;
			}
			.content img{
				width: 100%;
			}
		</style> -->
		<div class="border">
			<div class="content">
				<img src="../css动画/img/1.png">
				<h3>Sed ut perspicatis unde</h3>
				<p>Adults trained the young in
					the knowledge and skills
					Lapeyrouse inFashion Elle
					Moscow,Russla</p>
			</div>
			<div class="content">
				<img src="../css动画/img/1.png">
				<h3>Sed ut perspicatis unde</h3>
				<p>Adults trained the young in
					the knowledge and skills
					Lapeyrouse inFashion Elle
					Moscow,Russla</p>
			</div>
			<div class="content">
				<img src="../css动画/img/1.png">
				<h3>Sed ut perspicatis unde</h3>
				<p>Adults trained the young in
					the knowledge and skills
					Lapeyrouse inFashion Elle
					Moscow,Russla</p>
			</div>
			<div class="content">
				<img src="../css动画/img/1.png">
				<h3>Sed ut perspicatis unde</h3>
				<p>Adults trained the young in
					the knowledge and skills
					Lapeyrouse inFashion Elle
					Moscow,Russla</p>
			</div>
		</div>
	</body>
</html>
